public class AquaticAnimal extends Animal{
    public AquaticAnimal(String name, int age) {
        super(name, age);
    }

    @Override
    public void sound() {
        System.out.println(getName() + "在吱吱地叫...");
    }

    @Override
    public void move() {
        System.out.println(getName() + "在游泳...");
    }

    @Override
    public AnimalType getAnimalType() {
        return AnimalType.AQUATIC;
    }
}
